package com.dao;

import com.pojo.VisitorLogs;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VisitorLogsDao {

    List<VisitorLogs> searchAll(@Param("param") String param);

    Integer add(@Param("visitor") VisitorLogs visitorLogs, @Param("buildid") Integer buildingId);

    Integer delete(@Param("name") String name,@Param("startTime") String startTime,@Param("buildingId") Integer buildingId);

}
